﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionLine.Modules.ShareLib.Models {
    public partial class ModbusTcpConfig:ObservableObject {

        [ObservableProperty]
        private string _ipAddress;

        [ObservableProperty]
        private int _port;

        [ObservableProperty]
        private int _connectTimeOut;

        [ObservableProperty]
        private int _receiveTimeOut;

        /// <summary>
        /// 服务端地址码
        /// </summary>
        [ObservableProperty]
        private int _station;
    }
}
